home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7765 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.3 KB  |  67 lines

  1. Newsgroups: comp.lang.c
  2. Path: uu4news.netcom.com!zodiac!szh
  3. From: szh@zcon.com (Syed Zaeem Hosain)
  4. Subject: Re: Checking For Keyboard Input
  5. Message-ID: <1996Feb28.181312.28362@zcon.com>
  6. Sender: szh@zcon.com (Syed Zaeem Hosain)
  7. Nntp-Posting-Host: zodiac
  8. Reply-To: szh@zcon.com
  9. Organization: Z Consulting Group
  10. References: <3133b654.1470756@news.sapien.net>
  11. Date: Wed, 28 Feb 1996 18:13:12 GMT
  12.  
  13. In article <3133b654.1470756@news.sapien.net>, bethcobb@sapien.net (bethcobb) writes:
  14. >c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku) wrote:
  15. >
  16. >>In article <cerebus.34.000DD98A@voicenet.com>,
  17. >>aLEX <cerebus@voicenet.com> wrote:
  18. >
  19. >>
  20. >>This question comes up not fewer than 10 times a week in this newsgroup, yet it
  21. >>has nothing to do with the C language. It is more than adequatly covered in the
  22. >>FAQ, as you would know if you had read it.
  23. >>-- 
  24. >>
  25. >Which  FAQ are you referring to?
  26.  
  27. The comp.lang.c FAQ, of course (thanks to Steve Summit)!
  28.  
  29. Which has the following questions (and their answers, as can best be done
  30. from a C language perspective) in it:
  31.  
  32. 19.1:   How can I read a single character from the keyboard without
  33.         waiting for the RETURN key?  How can I stop characters from
  34.         being echoed on the screen as they're typed?
  35.  
  36. 19.2:   How can I find out if there are characters available for reading
  37.         (and if so, how many)?  Alternatively, how can I do a read that
  38.         will not block if there are no characters available?
  39.  
  40. 19.3:   How can I display a percentage-done indication that updates
  41.         itself in place, or show one of those "twirling baton" progress
  42.         indicators?
  43.  
  44. 19.4:   How can I clear the screen?
  45.         How can I print things in inverse video?
  46.         How can I move the cursor to a specific x, y position?
  47.  
  48. 19.5:   How do I read the arrow keys?  What about function keys?
  49.  
  50. 19.6:   How do I read the mouse?
  51.  
  52.  
  53. among other very system-specific responses. I strongly recommend reading
  54. the FAQ ... in the words of a famous ad campaign, assuming I remember it
  55. correctly <smile>:
  56.  
  57.     "Try It, You'll Like It!"
  58.  
  59.                                 Z
  60.  
  61.  
  62. -- 
  63. -------------------------------------------------------------------------
  64. | Syed Zaeem Hosain          P. O. Box 610097            (408) 441-7021 |
  65. | Z Consulting Group        San Jose, CA 95161             szh@zcon.com |
  66. -------------------------------------------------------------------------
  67.